
import java.sql.Timestamp;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Andrea
 */
public class XMLDTO {
    
    private int mCode = -1;
    private String mUser = "Default";
    private String mTeam = "Default";
    private int mRow = -1; // maths function to convert lat/longtidue to row column needed before setting field values (put in XML class)
    private int mCol = -1;
    private int mQueryID = -1;
    private Timestamp mTimeStamp = new Timestamp(0);
    private boolean mAlgorithm=false;
    
    public XMLDTO (int code, String user, String team, int row, int col, int queryID, Timestamp time)
    {
        mCode = code;
        mUser = user;
        mTeam = team;
        mRow = row;
        mCol = col;
        mQueryID = queryID;
        mTimeStamp = time;
    }
    public XMLDTO (boolean alg)
    {
        mAlgorithm = alg;
    }
    
    public XMLDTO ()
    {
        
    }

    public int getCode() {
        return mCode;
    }

    public void setCode(int mCode) {
        this.mCode = mCode;
    }

    public int getCol() {
        return mCol;
    }

    public void setCol(int mCol) {
        this.mCol = mCol;
    }

    public int getQueryID() {
        return mQueryID;
    }

    public void setQueryID(int mQueryID) {
        this.mQueryID = mQueryID;
    }

    public int getRow() {
        return mRow;
    }

    public boolean isAlgorithm() {
        return mAlgorithm;
    }

    public void setAlgorithm(boolean malgorithm) {
        this.mAlgorithm = malgorithm;
    }

    public void setRow(int mRow) {
        this.mRow = mRow;
    }

    public String getTeam() {
        return mTeam;
    }

    public void setTeam(String mTeam) {
        this.mTeam = mTeam;
    }

    public Timestamp getTimeStamp() {
        return mTimeStamp;
    }

    public void setTimeStamp(Timestamp mTimeStamp) {
        this.mTimeStamp = mTimeStamp;
    }

    public String getUser() {
        return mUser;
    }

    public void setUser(String mUser) {
        this.mUser = mUser;
    }   
}
